package org.chen.ctrip.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.chen.common.ctrip.entity.CustomDayContent;
import java.util.List;

public interface CustomDayContentService extends IService<CustomDayContent> {
    
    /**
     * 获取匹配的自定义内容
     */
    CustomDayContent getMatchingContent(String platform, String dayType, 
                                      String departureCity, String destinationCity);
    
    /**
     * 按平台分组获取所有内容
     */
    List<CustomDayContent> getContentByPlatform(String platform);
    
    /**
     * 保存或更新自定义内容
     */
    CustomDayContent saveOrUpdateContent(CustomDayContent content);
}